home *** CD-ROM | disk | FTP | other *** search
/ CYBER.XPO.95 / CYBER.XPO.95 (Arsenal Computer).ISO / popreq / amiga1 / dcdd_20.lha / DCDD.doc < prev    next >
Text File  |  1994-01-27  |  23KB  |  539 lines

  1.  
  2.   DCDD.doc                                                      940127.2137
  3.  
  4.                       Direct Connect Demon Dialer 
  5.                             Version 2.0
  6.  
  7.                             Jerry Smith
  8.                  
  9.                           Local Contact BBS
  10.                         F.A.A.X. (209) 226-7162
  11.  
  12.  
  13.  
  14.                       Why there is a DCDD.rexx:
  15.  
  16.      I had been using PCPursuit for years but felt limited both in
  17.      speed and the selected areas covered. I had automated a bit
  18.      by using PCPDial by Dave Mullenix to keep activity logs of time
  19.      and BBSes. I could also keep track of total time used each month.
  20.  
  21.      During all this I dreamed of higher speeds and unlimited
  22.      phone numbers. So...     
  23.  
  24.          I purchased a SupraFAXmodem V32.bis super modem. NOW!! I really 
  25.      needed to be able to keep track of the phone bill I am running
  26.      up!!! I then did some major surgery on PCPDial and Voila.....
  27.  
  28.  
  29.  
  30.                       What DCDD.rexx will do:
  31.  
  32. Allows you to choose which BBSes to call from a phone book of up to 80 BBSes.
  33.              (You may have as many phone books as you wish)
  34.  
  35. It will automatically dial your chosen batch of local or distant BBSes, and
  36.    will go through your selections as many times as you like, repeatedly
  37.    dialing the BBSes until it connects with one, at which time it will beep
  38.    and bring BaudBandit's screen to the front. After you logoff that BBS the
  39.    selection loop will continue by dialing the next BBS.
  40.  
  41. Due to the needs for high speed when using V32.bis DCDD.rexx creates a 
  42.    directory called RAM:-dl and directs all captured sessions and downloaded 
  43.    files to here. When you disconnect from a given BBS all the files are 
  44.    transfered to DH1:-dl for safekeeping. This insures high speed without the
  45.    worry of a major data loss in case of a power outage. 
  46.  
  47. Before dialing, it will
  48.    A: Automatically change your modem config to allow for non-standard needs
  49.       for any given BBS. (at least on my SupraFAXmodem V32.bis)
  50.  
  51. After connecting, it will
  52.    A: Automatically start an ARexx script if you specify one.
  53.    B: Automatically start a line of BaudBandit script pairs you supply.
  54.    C: Automatically open a capture log file. 
  55.    D: Automatically capture your initial connect speed for the BBS log.
  56.    E: Automatically capture the current date and time to use in the BBS log.    
  57.     
  58. It will automatically keep track of the total connect time for each BBS
  59.    visited as well as a running total for the current month.
  60.  
  61. The running monthly total is not updated for a selected BBS if you use the
  62.    LOCAL option in the bandit.DCDD phone book.
  63.  
  64. After you disconnect from a BBS, DCDD.rexx will compute the time you were 
  65.    connected and store a record accordingly, then it will dial the next
  66.    BBS you have selected until all BBSes have been delt with. You can
  67.    Press Shift F10 to leave the Dialing Loop and exit DCDD.rexx.
  68.  
  69. While you are CONNECTED to a BBS if you press Shift F10 DCDD.rexx will
  70.    disconnect you and clean up the files just like a normal BBS logoff and
  71.    then continue on to the next selected BBS. This is very useful should a 
  72.    BBS freeze up on you. 
  73.  
  74. All files and capture logs are transfered from RAM:-dl to DH1:-dl when you
  75.    logoff of a BBS. RAM:-dl is then cleared for use with the next BBS.
  76.  
  77.  
  78.  
  79.                       What DCDD.rexx requires:
  80.  
  81. You must have ARexx version 1.1 or higher and BaudBandit, version 1.5
  82.    or higher.
  83.   
  84. You will also have to have rexxsupport.library in your Libs directory.
  85.    Directions for doing this are given below.
  86.  
  87. There is a script which fires off when the DCDD icon is double clicked
  88.    that expects arexx to be already up and running.
  89.  
  90. Also I am using WShell with this. Non WShell users may need adjustments.
  91.  
  92.  
  93.  
  94.                       How to Get Set up:
  95.  
  96. First, make sure ARexx has the rexxsupport.library up and working. This will
  97.    add about a dozen new commands to ARexx and it has to be there because
  98.    DCDD.rexx uses one of them. The new commands are described in the file
  99.    "update.doc" on your original ARexx disk.
  100.  
  101. If you don't have rexxsupport.library installed, then follow these instructions.
  102.    Copy rexxsupport.library from the libs directory of your ARexx disk to your
  103.    libs directory. Then add these lines to your startup-sequence file
  104.    immediately after the rexxmast command:
  105.  
  106.    wait >NIL: 3 secs
  107.    rxlib rexxsupport.library 0 -30 0
  108.  
  109. Then make a directory on your hardisk called DemonDialer and give it an icon.    
  110.      Put all my files into your DemonDialer directory.
  111.      Put your copy of BaudBandit and it's icon into the DemonDialer directory.
  112.      If you have BaudBandit v2.1 use my BB.config else run BaudBandit, and
  113.      turn POPUP OFF then save the configuration. If you don't do this the 
  114.      dialer screen keeps getting in the way. Make sure ARexx is up and running
  115.      (WB2.04 & up does it for you). Now you're ready!
  116.  
  117.  
  118.  
  119.                       How to Use DCDD.rexx:
  120.  
  121.      Once ARexx is up and running just double click on the DCDD icon 
  122.      and the script will start up BaudBandit and bring up a menu of 
  123.      80 BBSes for you to choose from. This screen now shows how long
  124.      it has been since you called each BBS. the codes are as follows:
  125.         00 to 30 days:   .
  126.         31 to 60 days:   -
  127.         61 to 90 days:   =
  128.         91 to 365 days:  x
  129.        366 and above:    *
  130.      I try to touch base with all BBSes in my phone books at least once
  131.      every 2 to 3 months.
  132.       
  133.  
  134.  
  135.                     How to Select a Group of BBSes to Call:
  136.  
  137. A window will open and up to 80 BBS names will be displayed in it.
  138.    The hours used so far this month (00:00:00 the first time you run it)
  139.    will be shown along with an invitation to type in the numbers of the
  140.    BBSes you want to dial.  Type in as many numbers as you want.
  141.    Separate each number by a space or any of these characters:
  142.    ,./;:\|+-*#
  143.  
  144. For instance, if you want to call the second, fourth and fifteenth
  145.    BBSes in the phonebook, type 2 4 15 or 2,4,15 or 2/4/15 or 2 4-15 or any
  146.    other combination you want.  You can also type a number more than once.
  147.    If you want to get through to the third BBS in your phonebook very badly,
  148.    you might type something like 3 5 3 9 3 2 3 1. When you logoff of a BBS
  149.    DCDD.rexx will edit your selections and delete ALL occurances of that 
  150.    BBS selection number.
  151.  
  152. In addition if the first character entered is an "A" you can direct your
  153.    Do_WHOEVER.rexx script to do Automatic processing. If you entered an "A"
  154.    and then select a BBS that has no Arexx script DCDD.rexx will warn you 
  155.    and quit.
  156.  
  157.    See Do_FAAX.rexx file as an example of this and Do_FAAX.rexx Example: below.  
  158.  
  159.  
  160.  
  161.                              Dialing:
  162.  
  163. Type your line, hit Return and BaudBandit will start dialing the first 
  164.    selected BBS number.  When it connects, BaudBandit will beep and bring 
  165.    its screen to the front if you are somewhere else. You can either watch
  166.    or multitask away and do something else while DCDD.rexx and BaudBandit
  167.    grind away at your BBS selections.
  168.  
  169.  
  170.  
  171.                    After connecting With the Desired BBS:
  172.  
  173. When DCDD.rexx connects with a BBS, it will beep and bring BaudBandit's
  174.    screen to the front.  At this time, DCDD.rexx will open a capture file, 
  175.    using the bbs.j.captitle name from the phonebook. It will also start any  
  176.    ARexx script or BaudBandit script pairs you specified in the phone book.
  177.    Finally, DCDD.rexx will go to sleep and wait for you to disconnect from
  178.    that BBS. To show you that DCDD.rexx is sleeping, it will display this 
  179.    message on BaudBandit's screen:
  180.  
  181.                +-------------------------------------+
  182.                | WAITING FOR UrBBSname DISCONNECT    |
  183.                +-------------------------------------+
  184.  
  185. Now logon to the BBS and do whatever you want to do.  YOU MAY HAVE TO CLICK
  186.    ON THE SCREEN BEFORE TYPING.  When you're finished, log off and DCDD.rexx
  187.    will return you to the Dailing Loop after doing some housekeeping chores.
  188.  
  189.  
  190.  
  191.                 After You Logoff Your Current BBS:
  192.  
  193. As soon as the CARRIER is dropped, DCDD.rexx will wake up and say,
  194.    "Updating Total Time" and give you the previous total time used for the
  195.     month, the time used on the call that's just finished and the new total
  196.     time used this month. It will save the total time in file DCDDtime.YYYYMM
  197.     in the DemonDialer directory. DCDD.rexx also saves the connect and
  198.     disconnect information in files DCDDdiscos.yyyymm and DCDDhistory in the
  199.     DemonDialer directory. Details on these files are below. DCDD.rexx will
  200.     edit your selections and delete ALL occurances of that BBS selection 
  201.     number. All files and capture logs are transfered from RAM:-dl to DH1:-dl
  202.     and then all files in RAM:-dl are deleted.
  203.  
  204. If there are additional BBSes to be dialed, you'll see a list of them and then
  205.    the next one will be called.  Again, you can go and do something else and
  206.    DCDD.rexx will beep and bring BaudBandit's screen to the front when it
  207.    connects with a BBS. When you hangup from the last BBS selected or press
  208.    Shift F10, you will see:
  209.  
  210.            **************************************************
  211.            *****                                       ******
  212.            ***** EXITING * DIRECT CONNECT DEMON DIALER ******           
  213.            *****                                       ******
  214.            **************************************************
  215.  
  216.    and then DCDD.rexx will finish up some housekeeping chores and exit.
  217.  
  218. DCDD.rexx creates three files in your DemonDialer directory. One holds the 
  219.    monthly time totals and the other two store your BBS session information.
  220.  
  221.  
  222.  
  223.                        How to STOP! DCDD.rexx:
  224.  
  225. Just press the SHIFT and F10 keys at the same time to delete a directory 
  226.    that was created in RAM by the DCDD script at the start of the session.
  227.  
  228. A section of DCDD.rexx tests for this directory and causes the program to
  229.    shut down if it is not found. If DCDD.rexx starts dialing another BBS
  230.    after you pressed Shift F10, just press enter to skip it and let 
  231.    DCDD.rexx exit normally.  
  232.  
  233.  
  234.  
  235.                          Monthly Time Information:
  236.  
  237. DCDD.rexx stores the monthly total time used in a file called DCDDtime.YYYYMM,
  238.    where YYYY is the current year and MM is the current month. For instance,
  239.    if this were Feburary 1997, the file name would be DCDDtime.199702.
  240.  
  241. The total time is stored as standard ASCII numbers, with the hours on the
  242.    first line, minutes on line two and seconds on line 3.  For instance,
  243.    if you'd used 15 hours, 32 minutes and 8 seconds so far in August, 1997,
  244.    the file DCDDtime.199708 would read:
  245.  
  246.    15
  247.    32
  248.    8
  249.  
  250. You can change this file with any text editor or word processor. ED works
  251.    just fine. This is handy if you use some time calling a friend and want
  252.    to add it to the total.  DCDD.rexx starts a new file each month and
  253.    doesn't erase the old ones, so you'll have to manually delete them once 
  254.    in a while.
  255.  
  256. KNOWN BUG: If you connect with a BBS before midnight on the last day of the
  257.    month and don't disconnect until after midnight, all the time gets 
  258.    credited to the old month.
  259.  
  260.  
  261.  
  262.                      Monthly Activity Information:
  263.  
  264. DCDD.rexx saves all the connect/disconnect information plus the date and 
  265.    time you connected, in 2 files called DCDDdiscos.YYYYMM and DCDDhistory.
  266.    these records look like this:
  267.  
  268.    DCDDdiscos.199708 ....................... 
  269.  
  270.    970829 1706 00:14:36 GameS 9600 Game Shop
  271.    .........................................
  272.  
  273.    970829    = 29 August 1997 (YYMMDD).
  274.  
  275.    1706      = Military time connection was made (HHMM).
  276.  
  277.    00:14:36  = duration of the call in hours:minutes:seconds.
  278.  
  279.    GameS     = the BBS's (short) name.
  280.  
  281.    9600      = the actual arbitrated connect speed.
  282.  
  283.    Game Shop = the BBS's (long) name.
  284.  
  285.  
  286. DCDDhistory ............................. See field descriptions above...
  287.  
  288. GameS 970829 1706 00:14:36 9600 Game Shop
  289. .........................................
  290.  
  291.  
  292. These files may come in handy if you want to review your usage or check out
  293.    your phone bill. These files are not erased automatically and will 
  294.    gradually accumulate.  You'll have to delete the old ones manually.
  295.  
  296.  
  297.  
  298.                             PhoneBooks:
  299.  
  300. You can have as many phone books as you want for DCDD.rexx and each phone
  301.    book can have up to 80 BBSes in it.  The default phonebook is named
  302.    Bandit.DCDD.  You can change the "DCDD" part to any legal Amiga name you
  303.    want. For instance, you could make phonebooks titled Bandit.AMIGA or
  304.    Bandit.MIDI or Bandit.WAFFLE. Just copy, rename and edit the script DCDD
  305.    and copy/rename it's icon. You will also want to copy and rename the
  306.    bandit.DCDD-blank-80 phonebook. Of course you will have to populate it
  307.    with your favorite BBS names and numbers.
  308.  
  309. DCDD_1, DCDD_1.info and bandit.DCDD_1 are renamed and edited samples.
  310.  
  311.  
  312.  
  313.                            Phonebook format:
  314.  
  315. Each phone book consists of multiple line records for each BBS listed. 
  316.  
  317. Each record has this format:
  318.  
  319. > Five minus signs to mark the start of the record
  320. > BBS name (long name)
  321. > Phone number (including 1 and the area code i.e 1-209-234-5678)
  322. > LOCAL key word (used to bypass monthly time updates for local BBSes)
  323. > AT codes to send to your modem for *THIS* BBS *BEFORE* dialing begins.
  324. > Capture file filename (short name (single word, no spaces)) plus:
  325.     password #1 (single word, no spaces)
  326.     password #2 (single word, no spaces)
  327.     date YYYYMMDD of last session 
  328.     time HHMM of last session
  329.     duration of last session (HH:MM:SS)
  330.     modem speed for last session
  331.     long BBS name
  332. > ARexx script to execute after connecting to the BBS
  333. > BaudBandit script pairs to execute after connecting to the BBS
  334. > Zero or more lines of notes to be displayed while dialing the BBS.
  335.  
  336. The capture filename is no longer optional but must be present and must
  337.    be a single word with no spaces.
  338.  
  339. The ARexx script name and script pairs are all optional.
  340.    If you don't want to use them, leave the line blank, but at least a 
  341.    blank line must be there.
  342.  
  343. After the line of script pairs, you can type several lines to be displayed
  344.    on BaudBandit's screen while dialing a BBS. You can put any information
  345.    here you like. Also You may have as many lines of notes as you wish or
  346.    none at all.
  347.  
  348.      Here's a small sample file, with notes.
  349.  
  350. -----           Start of first BBS record
  351. First Amiga UG  BBS Name
  352. 1-415-595-2479  Full Phone Number
  353.                 Blank code allows time to be added to monthly totals.
  354. M               AT code to turn off speaker
  355. Faug (+)        Capture file name + other data
  356.                 ARexx script to execute at logon (blank here)
  357.                 BaudBandit script pairs to execute at logon (blank)
  358. First Amiga Users Group (was the FIRST according to them...). (notes)
  359. -----           Start of second BBS record
  360. Safe Harbor     BBS Name
  361. 1-414-548-8155  Full Phone Number
  362.                 Blank code allows time to be added to monthly totals.
  363.                 AT code (blank)
  364. SafHarb (+)     Capture file name + other data
  365.                 ARexx script to execute at logon (blank here)
  366. '{Escape twice=\w\x1B\w\x1B\w\r}{name:=Your Name\r}{Password:=Your Password\r}{RETURN=\r}'     
  367. Verified 6/87   notes
  368. -----           Start of third BBS record
  369. F.A.A.X.        BBS name
  370. 226-7162        Phone number
  371. LOCAL           Local code to keep Local call time out of monthly totals.
  372.                 AT code (blank)
  373. FAAX (+)        Capture file name + other data. 
  374. DO_FAAX.rexx Arg ARexx script to be executed at logon & argument(if used)
  375.                 BaudBandit script pairs (blank here) 
  376. sysop Darcy McConnell                Line 1 of notes
  377. Home BBS for the A.G.E. users group  Line 2 of notes
  378. has CD-ROM online                    Line 3 of notes
  379. -----           Start of fourth BBS record
  380. etc.
  381.  
  382. (+) contains, password one, password two, date / time last connected,
  383.     duration of last session, modem speed, and a Julian date calculated
  384.     since day zero of year zero.
  385.  
  386. Nothing special has to be at the end of the file.
  387.  
  388. NOTE:  The capture file name will have .YYMMDD.HHMM.1 appended to it, 
  389.    where the current values of YY = year, MM = month, DD = day, HH = hour
  390.    and MM = minutes. Thus, a capture file name like FAAX in the above sample
  391.    would become FAAX.970215.2318.1 if the date was Feb 15, 1997 at 11:18 pm.
  392.    If you turn capture off and then back on at the BaudBandit menu bar, the
  393.    new ones will automatically increment by one to become FAAX.970215.2319.2,
  394.    etc.
  395.  
  396.    I use this feature to capture the original logon as FAAX.970215.2318.1,
  397.    the new file list as FAAX.970215.2318.2 and the remainder of the session
  398.    as FAAX.970215.2318.3. 
  399.  
  400.  
  401.  
  402.                            Script Pairs:
  403.  
  404. These are used to cause BaudBandit to send responses based on a code being
  405.    detected. Be sure to begin and end the whole thing with single quotes.
  406.  
  407.    '{Escape=\w\x1B\w\r}{name=Your Name}{Password:=Your Password}'
  408.      -----------------  --------------  -----------------------
  409.    The above will respond with an escape code(1B) the first time it finds the
  410.        key word "Escape". Next it will respond with Your Name the first time
  411.        "name" is found. Password is handled the same way. Read the docs for
  412.        BaudBandit for more ideas.....
  413.  
  414.  
  415.  
  416.                            Arexx Scripts:
  417.  
  418. These may be used to direct BaudBandit and DCDD.rexx for more expanded
  419.    control of a BBS session than script pairs alone will allow. These are
  420.    usually used for automated late night download sessions.
  421.  
  422.    If the first character entered on the select BBSes line is an "A" you can
  423.    direct your Do_WHOEVER.rexx script to do Automatic processing. If you have 
  424.    entered an "A" and then select a BBS that has no Arexx script, DCDD.rexx
  425.    will warn you and quit.
  426.  
  427.    Nested DO FOREVER/WAIT LOOPS are used to control your Auto Processing and
  428.    allow for an exit of the BBS in case the sysop has changed things and your
  429.    Do_WHOEVER.rexx script gets "LOST" and locks up. The Timeouts are set for
  430.    30 seconds each. Telephone time costs too much to let this happen..!!!
  431.  
  432.    Note: the WAIT statements are looking for an EXACT!!! match including
  433.    upper/lower case!!! If you are having problems check you session logs and
  434.    check spelling, punctuation and case....
  435.  
  436.  
  437.  
  438.                          Do_FAAX.rexx Example:
  439.  
  440.    Do_FAAX.rexx will do the following using the AUTO mode.
  441.  
  442.    01.  enter your name
  443.  
  444.    02.  enter your password (i.e. your first password in the phonebook).
  445.  
  446.           if your 1st PW is invalid it enters your 2nd password.
  447.                  (plus creating a FAAX_2nd_PW directory in DH1: as a warning)
  448.  
  449.           if your 1st PW has expired it will enter your 2nd PW.
  450.  
  451.    03.  test for MAIL for you and capture it into a session log file.
  452.           
  453.           if any FILES are attached to your MAIL it will download them.   
  454.  
  455.    04.  go to the file area and download the NEW FILE LIST into your session log.
  456.  
  457.    05.  check for RAM:DL_FAAX and read it and download file names you put in it.
  458.  
  459.    06.  log you off of FAAX BBS and get ready to dial the next one selected.
  460.  
  461.    For an example see Do_FAXX.rexx Arexx script and ZZZ_FAAX_session_log ....
  462.  
  463.  
  464.  
  465.                            Update History:
  466.  
  467. Version 2.0  - 27 Jan 1994  - Changed bbs.j.captitle to include a Julian date
  468.                               from year zero/day zero to use for marking the
  469.                               BBS selection screen for 30, 60 & 90 days since
  470.                               last connected. This keeps you informed as to
  471.                               which BBSes need to be called. Additional info
  472.                               captured includes Long & Short names, yyyymmdd,
  473.                               time connected, duration of call and speed.
  474.                               A new file called DCDDhistory keeps connect info
  475.                               by BBS short name for complete history. 
  476.                               The first time ver 2.0 is run it will convert
  477.                               your DCDD phone books for you. You can hand edit
  478.                               these files to jump start things or just let
  479.                               nature take it's course...........
  480.                               
  481. Version 1.9  - 05 Sept 1993 - Incorporate Argument passing of Passwords from
  482.                               PhoneBook to Do_Whoever.rexx. added AUTO file
  483.                               downloading via a file in RAM:. added AUTO MAIL 
  484.                               and attached file capture/downloads.
  485.  
  486. Version 1.8  - 26 Aug 1993  - Changed Arexx Scripts process to do NESTED DO
  487.                               FOREVER/WAIT LOOPS and eliminated the need for
  488.                               the 5 minute timer. (left timer in place for
  489.                               those using it). see Do_FAAX.rexx for example
  490.                               and read "AREXX SCRIPTS:" above.
  491.  
  492. Version 1.7  - 14 Aug 1993  - re-did RemoveBBS function to work as advertised!
  493.                               re-did ability to control an Auto exit of a
  494.                               BBS after 5 minutes. Added ability to control
  495.                               Do_WHOEVER.rexx scripts by entering an "A" as
  496.                               the first character when selecting BBSes. see
  497.                               Do_FAAX.rexx for example and read "AREXX SCRIPTS:"
  498.                               above. 
  499.  
  500. Version 1.6  - 02 Aug 1993  - added ability to control an Auto exit of a
  501.                               BBS after 5 minutes. This is controled by the
  502.                               existence of a directory in RAM. see FAAX above
  503.                               and file Do_FAAX.rexx for example. 
  504.  
  505. Version 1.5  - 29 July 1993 - modified DCDD.rexx to use script pair codes
  506.                               to handle request for "ESCAPE" key at logon.
  507.                               see Safe Harbor above...
  508.  
  509. Version 1.4a - 28 July 1993 - text and docs updated.
  510.  
  511. Version 1.4  - 19 July 1993 - first public release.
  512.  
  513.  
  514.  
  515.                            Ramblings.....
  516.  
  517. My Wife and I operate a business called "SMITH DISKS" using the PD files
  518.    we have been collecting since 1987. (see the "About-Smith-Disks" file)
  519.    We also collect Amiga BBS information and Great PD software. 
  520.  
  521. If you do any of the following PLEASE leave mail/files for me at the
  522.    Fresno Area Amiga eXchange BBS at (209) 226-7162. 
  523.  
  524.    A. Find any Great new PD Programs/Pictures/Animations/etc.
  525.  
  526.    B. Discover a new Amiga BBS. 
  527.  
  528.    C. Do any Really Neat modifications to DCDD.rexx.
  529.  
  530.    D. Make up a Do_WHOEVER.rexx script for your Favorite Amiga BBS.
  531.  
  532.    E. Just want to tell me how much you love/hate DCDD.rexx...
  533.  
  534.  
  535. This whole package is in the public domain.  You may do anything you want
  536.    with it, specifically including copying it, giving it away and selling
  537.    it if you can find a sucker. All I ask is that you leave my name on it.
  538.  
  539.